<template>
  <a-space v-if="props.type && props.type !== 'none'">
    <IconFont :type="props.type" />
  </a-space>
</template>
<script setup>
import { createFromIconfontCN } from '@ant-design/icons-vue';
const IconFont = createFromIconfontCN({
  scriptUrl: '//at.alicdn.com/t/c/font_4301568_60otzcpzl6s.js',
});

const props = defineProps({
  type: {
    type: String,
    default: ''
  }
})

</script>
<style scoped>
.icons-list :deep(.anticon) {
  margin-right: 6px;
  font-size: 24px;
}
</style>